package com.atguigu.gulimall.product.service;

import com.atguigu.gulimall.product.vo.SkuItemVo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.atguigu.common.utils.PageUtils;
import com.atguigu.gulimall.product.entity.SkuInfoEntity;

import java.util.Map;
import java.util.concurrent.ExecutionException;

/**
 * sku信息
 *
 * @author mayp
 * @email 1582240996@qq.com
 * @date 2020-06-05 17:09:03
 */
public interface SkuInfoService extends IService<SkuInfoEntity> {

    PageUtils queryPageSkuByContiton(Map<String, Object> params);

//    保存sku信息
    void saveSkuInfo(SkuInfoEntity skuInfoEntity);

//    查找商品详情
    SkuItemVo item(Long skuId) throws ExecutionException, InterruptedException;
}

